package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 访客
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "Visitor对象", description = "访客")
public class Visitor implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "访客ID", hidden = true)
	@TableId(value = "visitor_ID", type = IdType.AUTO)
	private Long visitorId;

	@ApiModelProperty(value = "访客姓名")
	private String visitorName;

	@ApiModelProperty(value = "访客联系方式")
	private String visitorPhone;

	@ApiModelProperty(value = "来访时间")
	private LocalDateTime enterTime;

	@ApiModelProperty(value = "离开时间")
	private LocalDateTime leaveTime;


}
